let baseUrl = ''
let fileUrl = ''
let socket = ''
if(process.env.NODE_ENV === 'development') {
  // #ifdef APP
  baseUrl = 'http://192.168.1.25:9090'
  fileUrl = 'http://192.168.1.25:9090'
  socket = 'ws://192.168.1.25:9090'
	// baseUrl = 'http://192.168.5.44:9090'
	// fileUrl = 'http://192.168.5.44:9090'
	// socket = 'ws://192.168.5.44:9090'
  // #endif
	// #ifdef MP-WEIXIN
	baseUrl = 'http://localhost:9090'
	fileUrl = 'http://localhost:9090'
	socket = 'ws://localhost:9090'
	// #endif
	// #ifdef H5
	baseUrl = '/api'
	fileUrl = '/api'
	socket = '/ws'
	// #endif
}
if(process.env.NODE_ENV === 'production') {
  baseUrl = 'https://woaixuexi.co/api'
  fileUrl = 'https://woaixuexi.co/api'
  socket = 'wss://woaixuexi.co/ws'
}

export default {
  baseUrl,
  fileUrl,
  socket
}